package net.xuej.swfbuilder{
	/**
	 * 内容
	 * @author Administrator
	 * 
	 */
	public class EntityType{
		
		/**
		 * 图片资源
		 */
		public static const BITMAPDATA:String = "bitmapdata";
		/**
		 * swf资源
		 */
		public static var MOVIECLIP:String = "movieclip";
		
		public function EntityType(){
		}
		
		/**
		 * 根据类型获取类名
		 * @param type
		 * @return 
		 * 
		 */
		public static function getClass(type:String):String{
			var className:String;
			switch(type){
				case BITMAPDATA:
					className = "flash.display.BitmapData";
					break;
				case MOVIECLIP:
					className = "flash.diaplay.MovieClip";
					break;
			}
			return className;
		}
	}
}